/**
 * 
 */
package ar.com.gtug.service;

import java.io.Serializable;
import java.util.List;

/**
 * @author Juan M. Irungaray (juan@irungaray.com.ar)
 *
 */
public interface Repository<T> {

	public T get(Serializable id);
	
	public List<T> getAll();
	
	public void delete(T object);
	
	public void delete(List<T> objects);
	
	public void delete(Long id);
	
	public void save(T object);
	
	public void save(List<T> objects);
}
